﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="admin_Notice_Edit" ValidateRequest="false" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2"  TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link rel="stylesheet" href="../style.css" type="text/css" />
<script language="javascript" type="text/javascript" src="../style/JScript.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
<tr>
<td>&nbsp;</td>
<td width="100%" background="../images/r_0.gif"></td>
<td>&nbsp;</td>
</tr>
<tr><td></td><td>

    <div>
    <table align="center" cellpadding="4" cellspacing="1" border="1" width=100%  class="toptable grid fixed">
  <tr>
    <td height="25"class="category">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%" class="toptable grid " >
            <tr bgcolor="#ffffff">
                <td width="61" height="25" bgcolor="#ffffff" class="category t2" >
                    &nbsp;编辑文章</td>
                    <td bgcolor="#ffffff"  class="If" >&nbsp;</td>
                </tr>
        </table>
        </td>
  </tr>
</table>        
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td align="right" class="Tabel_RowBG"><div align="left">标题</div></td>
            <td colspan="3" class="Tabel_RowBG">&nbsp;
                <asp:TextBox ID="STRtitle" runat="server" Width="50%"></asp:TextBox>&nbsp*
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="STRtitle" runat="server" ErrorMessage="必须填写文章标题"></asp:RequiredFieldValidator>
                <asp:HiddenField ID="HiddenID" runat="server" />            </td>
          </tr>
          <tr>
            <td align="right" class="Tabel_RowBG"><div align="left">分类</div></td>
            <td colspan="3" class="Tabel_RowBG">&nbsp;
                <asp:DropDownList id="DropDownList1" runat="server"></asp:DropDownList></td>
          </tr>
          <tr>
            <td align="right" class="Tabel_RowBG"><div align="left">时间</div></td>
            <td colspan="3" class="Tabel_RowBG"><asp:TextBox ID="addtime" runat="server"></asp:TextBox></td>
          </tr>
          <tr>
            <td align="right" class="Tabel_RowBG"><div align="left">是否头条</div></td>
            <td colspan="3" class="Tabel_RowBG"><asp:DropDownList ID="hotnews" runat="server">
			
              <asp:ListItem value="0">否</asp:ListItem>
              <asp:ListItem value="1">是</asp:ListItem>
            </asp:DropDownList>   <font color="#CC0000">若选“是”则会在首页新闻文字头条上显示</font>              </td>
          </tr>
          <tr>
            <td width="76" align="right" class="Tabel_RowBG"><div align="left">焦点图片</div></td>
            <td width="168" class="Tabel_RowBG"><asp:TextBox ID="Pic1" runat="server" ></asp:TextBox>              </td>
          <td width="280" class="Tabel_RowBG"><table width="136%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><iframe id="Iframe1" src="UpFile.aspx?FilePath=newsimage&Obj=Pic1" scrolling="no" frameborder="0" width="280" height="25"> </iframe></td>
            </tr>
          </table></td>
            <td width="401" class="Tabel_RowBG"><asp:DropDownList ID="hotpicnews" runat="server">
              <asp:ListItem value="0">否</asp:ListItem>
              <asp:ListItem value="1">是</asp:ListItem>
            </asp:DropDownList>   
              <font color="#CC0000">若选“是”则会<font color="#CC0000">显示</font>首页焦点图片区</font>
            </td>
          </tr>
          
          <tr>
            <td colspan="4" class="Tabel_RowBG" height="350"><textarea name="Content1" id="Content1" style="display:none">
            <%=Content %></textarea>
            <iframe ID="eWebEditor1" src="../web_edit/index.htm?id=content1&style=standard600&skin=office2003" frameborder="0" scrolling="no" width="100%" height="350"></iframe></td>
            </tr>
          <tr>
            <td colspan="4" align="center" class="Tabel_RowBG"><asp:Button ID="Button1" runat="server" Text="  提 交  " onmousemove='showBtnOver(this)' onmouseout='showBtnOut(this)'  CssClass="submitMiniGreen" OnClick="Button1_Click"/></td>
            </tr>
        </table>
    </div>
 
</td><td></td>
</tr>   
<tr>
<td>&nbsp;</td>
<td></td>
<td>&nbsp;</td>
</tr>
</table>
    </div>
    </form>
</body>
</html>
